home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7455 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: news1.h1.usa.pipeline.com!usenet
  2. From: grantp@usa.pipeline.com(Pete)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: HELP...I can't fix it!!!!!!!!
  5. Date: 23 Feb 1996 11:07:53 GMT
  6. Organization: Kalevi, Inc.
  7. Message-ID: <4gk769$1m2@news1.usa.pipeline.com>
  8. NNTP-Posting-Host: pipe8.h1.usa.pipeline.com
  9. X-PipeUser: grantp
  10. X-PipeHub: usa.pipeline.com
  11. X-PipeGCOS: (Pete)
  12. X-Newsreader: Pipeline USA v3.3.0
  13.  
  14. On Feb 23, 1996 05:31:58 in article <HELP...I can't fix it!!!!!!!!>,
  15. 'mellow1@usa.pipeline.com(tony honer)' wrote: 
  16.  
  17.  
  18. >O.K.  What I have is a program that is made with struct's, there are no 
  19. >classes.  This program works great when it is in one program.  But when I 
  20. >seperate my struct definitions into a header file, and my functions into a
  21.  
  22. >adt file, and write a driver program that calls on the functions in the
  23. adt 
  24. >file. IT DOES NOT WORK.  It compiles like a dream, but when it goes to
  25. make 
  26. >I get a:  
  27. >DUPLICATE &OSTREAM CHAR IN FILE @#%$@  
  28. >DUPLICATE &OSTREAM NUMBER IN FILE @#%@  
  29. >ect,      
  30. You have defined -- contrast with declared -- objects 
  31. in your header file.  If this doesn't help you figure out 
  32. the solution, post a small sample of your header file 
  33. that includes the definitions of some of the offending 
  34. items, and someone will surely point out the errors of 
  35. your ways :-) 
  36.  
  37. -- 
  38. Pete Grant 
  39. Kalevi, Inc. 
  40. Software Engineering & development
  41.